package edu.cmu.cs.webapp.ioms.actions.user;

import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.ui.IViewActionDelegate;
import org.eclipse.ui.IViewPart;

import edu.cmu.cs.webapp.ioms.views.UsersListView;

public class RefreshUserViewAction implements IViewActionDelegate {
	private UsersListView _view;

	@Override
	public void init(IViewPart view) {
		this._view = (UsersListView) view;

	}

	@Override
	public void run(IAction action) {
		this._view.refreshUsersView();
	}

	@Override
	public void selectionChanged(IAction action, ISelection selection) {
		// empty
	}

}
